import { PropType } from "vue";
import { ThemeType, SizeType, ButtonType } from "./PropsType";
export default {
  theme: {
    type: String as PropType<ThemeType>,
    valueType:'String',
    default: "default",
    explanation: "按钮主题",
    options: ["default", "primary", "success", "warning", "error"],
  },
  size: {
    type: String as PropType<SizeType>,
    valueType:'String',
    default: "default",
    explanation: "按钮大小",
    options: ["default", "large", "small"],
  },
  type: {
    type: String as PropType<ButtonType>,
    valueType:'String',
    default: "default",
    explanation: "按钮类型",
    options: ["default", "link", "text"],
  },
  disabled: {
    type: Boolean,
    valueType:'Boolean',
    default: false,
    explanation: "是否禁用",
  },
  loading: {
    type: Boolean,
    valueType:'Boolean',
    default: false,
    explanation: "是否正在加载",
  },
};
